import Vue from 'vue'
import VueRouter from 'vue-router'
import Self from '../views/Self.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    alias: '/self',
    component: Self
  },
  {
    path: '/self/youzan',
    component: () => import('../views/function/Youzan.vue')
  },
  {
    path: '/self/screen',
    component: () => import('../views/function/Screen.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
